Skip to content

Read failed test logs from file#1133

Merged
toinehartman merged 3 commits into
mainfrom
fix/failed-test-logs-from-file
Jun 26, 2026
Merged

Read failed test logs from file#1133
toinehartman merged 3 commits into
mainfrom
fix/failed-test-logs-from-file

Conversation

@toinehartman

@toinehartman toinehartman commented Jun 25, 2026

Copy link
Copy Markdown
Member

Since we located the VS Code logs in #1075, we can also use them for the log snippets in the output of failed tests.
This PR attempts to read the logs from disk first, and only falls back to zooming/copying the output window if no logs can be found on disk. This should decrease the number of UI interactions and increase reliability of reporting on failed tests.

@toinehartman toinehartman self-assigned this Jun 25, 2026
@toinehartman toinehartman force-pushed the fix/failed-test-logs-from-file branch from 78646a9 to 6e1eeb6 Compare June 26, 2026 09:16
@toinehartman

toinehartman commented Jun 26, 2026

Copy link
Copy Markdown
Member Author

Note that, before merging this PR, 622cea0 should be reverted. This only serves to demonstrate how this works.

@toinehartman toinehartman marked this pull request as ready for review June 26, 2026 09:20
@toinehartman toinehartman force-pushed the fix/failed-test-logs-from-file branch from 6e1eeb6 to 49528ab Compare June 26, 2026 09:22
@toinehartman toinehartman changed the title Failed test logs from file Read failed test logs from file Jun 26, 2026

@DavyLandman DavyLandman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, no more UI interactions that can fail 👍🏼

@toinehartman toinehartman force-pushed the fix/failed-test-logs-from-file branch from db4093e to 570d288 Compare June 26, 2026 12:29
@sonarqubecloud

Copy link
Copy Markdown

@toinehartman toinehartman merged commit d518a00 into main Jun 26, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants